package cheme.ProcessModel.Cmds;


public class aaa_DescriptorComponentMoveCmd
{

//	private int oldIndex, newIndex;
//	private IChild child;
//	private IParent parent;
//
//	public DescriptorComponentMoveCmd(IChild child, IParent parent, int oldIndex, int newIndex)
//	{		
//		this.child = child;
//		this.parent = parent;
//		this.oldIndex = oldIndex;
//		this.newIndex = newIndex;
//		
//		if (this.newIndex > oldIndex)
//		{
//			this.newIndex--; //this is because the column is deleted before it is added
//		}
//	}
//
//	public void execute()
//	{
//		parent.reorderChild(child, newIndex);
//	}
//
//	public void undo()
//	{
//		parent.reorderChild(child, oldIndex);
//	}

}